<ion-view view-title="初唐">
	<style>
		/*图片裁剪*/
		
		img {
			
			vertical-align: middle;
			height: 100%;
			width: 100%;
		}
		.public-chutang,
		.public-chutang .slider .slider-slides .slider-slide .box .ionic-scroll{
			height: 100%;
		}
	</style>
	<ion-content class="has-header public-tabs-footer" has-bouncing="false" scroll="false">
		<!--<img src="./img/chutang.png"  />-->
		<div class="public-chutang">
			<div style="display:flex;width:100%;">
				<div style="flex:1;text-align: center;" class="tab_default" ng-repeat="d in tabNames" ng-click="activeSlide($index)" ng-class="slectIndex==$index ? 'tab_select' : '' ">
					{{d}}
					<div style="left:{{15+$index*33}}%" ng-show="slectIndex==$index"></div>
				</div>
			</div>
			<ion-slide-box on-slide-changed="slideChanged(index)" style="height: 93%;"
				 active-slide="slideIndex" does-continue="false" show-pager="false">
				<ion-slide  ng-repeat="p in pages">
					<div class="box" style="height: 100%;">
						<div  style="height: 100%;" ng-include="p"></div>
					</div>
				</ion-slide>
			</ion-slide-box>
			
		</div>
		
	</ion-content>
	<script id="er_modal.html" type="text/ng-template">    
      <div style="background-image: url(./img/popupImg/7.png);background-size:contain;background-repeat:no-repeat;">
      	<div class="row row-center" style="height: 155px;">
      		<div class="col text-center">
      			<button ng-click="getRufu(id='1')" style="border-radius: 45px;"><img style="box-shadow:2px 2px 10px #858b92;" src="./img/popupImg/rufu_1.png"></button>
      		</div>
      		<div class="col text-center ">
      			<button ng-click="getRufu(id='2')" style="border-radius: 45px;"><img style="box-shadow:2px 2px 10px #858b92;"  src="./img/popupImg/rufu_2.png"></button>
      		</div>
      		<div class="col text-center ">
      			<button ng-click="getRufu(id='3')" style="border-radius: 45px;"><img style="box-shadow:2px 2px 10px #858b92;"  src="./img/popupImg/rufu_3.png"></button>
      		</div>
      	</div>
      </div>    
	</script>
	<script id="er_modal2.html" type="text/ng-template">    
      <div style="background-image: url(./img/popupImg/7.png);background-size:contain;background-repeat:no-repeat;">
      	<div class="row row-center" style="height: 155px;">
      		<div class="col text-center">
      			<button ng-click="getQunzi(id='1')" style="border-radius: 45px;"><img style="box-shadow:2px 2px 10px #858b92;" src="./img/popupImg/2-1.png"></button>
      		</div>
      		<div class="col text-center ">
      			<button ng-click="getQunzi(id='2')" style="border-radius: 45px;"><img style="box-shadow:2px 2px 10px #858b92;"  src="./img/popupImg/2-2.png"></button>
      		</div>
      		<div class="col text-center ">
      			<button ng-click="getQunzi(id='3')" style="border-radius: 45px;"><img style="box-shadow:2px 2px 10px #858b92;"  src="./img/popupImg/2-3.png"></button>
      		</div>
      	</div>
      </div>    
	</script>
</ion-view>